<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<table><tr><td>商店餐桌</td><td>&emsp;</td><td><form name="form1" method="post" action="jumptomanager.do?method=toPublishTable">
  <input type="submit" name="button" id="button" value="发布餐位">
</form></td></tr>
	<TR bgcolor="#9D9D9D">
		<TD>编码</TD>
		<TD>编号</TD>
		<TD>餐桌类型</TD>
		<TD>是否锁定</TD>
		<TD>容量</TD>
	</TR>
	<logic:present name="table_list">
	<logic:iterate id="table" name="table_list" scope="request">
	<TR>
		<TD><bean:write name="table" property="id" scope="page" format="#"/></TD>
		<TD><bean:write name="table" property="number" scope="page" format="#"/></TD>
		<TD><bean:write name="table" property="type" scope="page" format="#"/></TD>
		<TD><bean:write name="table" property="state" scope="page" /></TD>
		<TD><bean:write name="table" property="capacity" scope="page" format="#"/></TD>
		</form>
	</TR>
	</logic:iterate>
	</logic:present>
</table>
</body>
</html>